package com.orhon.smartcampus.modules.student.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
@Setter
@Getter
@EqualsAndHashCode
@Entity
@Table(name = "student_honor", schema = "smartcloud", catalog = "")
public class Honor {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    private Long id;
    
    @Column(name = "student_id", nullable = true)
    private Long student_id;
    
    @Column(name = "gain_time", nullable = true, length = 255)
    private String gain_time;
    
    @Column(name = "exam_name", nullable = true)
    private String exam_name;
    
    @Column(name = "ranking", nullable = true, length = 191)
    private Integer ranking;
    
    @Column(name = "grade", nullable = true, length = 191)
    private String grade;
    
    @Column(name = "units_name", nullable = true)
    private String units_name;
    
    @Column(name = "status", nullable = true)
    private Integer status;
    
    @Column(name = "remarks", nullable = true)
    private String remarks;
    
    @Column(name = "user_name", nullable = true)
    private String user_name;
    
    @Column(name = "created_at", nullable = true)
    private Date created_at;
    @Column(name = "updated_at", nullable = true)
    private Date updated_at;
    @Column(name = "deleted_at", nullable = true)
    private Date deleted_at;

}
